package com.ruoyi.mdkt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.mdkt.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.mdkt.entity.vo.CourseVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gwl
 * @since 2022-10-22
 */
public interface CourseService extends IService<Course> {

    Page pageByTeacherUserId(Long teacherUserId, Integer pageSize, Integer pageNum);

    Course getClassing(Long userId);

    List<Course> getNotClassing(Long userId);

    void publishCourse(Long courseId);

    Page<CourseVo> pageList(Course course, int pageNum, int pageSize);
}
